//
//  FirstViewController.h
//  eyeinfo
//
//  Created by kingsoft on 11-1-6.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "GlobalCls.h"
#import "GetRssDataLogical.h"

@interface NewsViewController : UIViewController {
	IBOutlet UISegmentedControl* pageControl;
	int m_nCurPage;
	UITableView *tableViewPtr; 
	UIActivityIndicatorView* m_spinner;
}

@property(nonatomic, retain) IBOutlet UISegmentedControl* pageControl;
@property (nonatomic, retain) UITableView *tableViewPtr;

-(IBAction) handlePageChanged;
-(IBAction) refrashClick;

-(void) pageChangeClick;
-(void) refrashTableData:(BOOL)bRefrashData;

- (void)startTheBackgroundJob :(GetRssDataLogical *) getRssDataLogic;
- (void)refrashTableView;

@end
